Placing Bitmaps on a Form

Description

You can place images directly on a Form, Report, Letter, or Label layout. For example, you can insert your company logo on a Letter layout to give the Letter a more professional look. To place an image on a form:

  1. Select the Bitmap tool from the Toolbox.

    images/Bitmap_tool_button.gif
  2. Click and drag over the area where you want to place the image. When you release the mouse button the object is created.

  3. To set the source of a bitmap, right-click on the bitmap object and select Properties... > Setup.

  4. Optionally, change the Object Name of the image.

  5. Select the source of the image. The options are:

    • Embedded :

      Loads and embeds the selected image into the layout. When you embed an image, the original Windows Bitmap (.BMP) or JPEG (.JPG) file is no longer needed; the embedded copy is stored in the database's data dictionary. If you plan to distribute a database, you can embed so that you do not have to supply separate image files.

    • File :

      Displays the Windows Bitmap (.BMP) or JPEG (.JPG) file you select.

    • Library :

      Displays an image of type .BML from the Alpha Anywhere Bitmap Library (if installed).

  6. If you selected "Embedded" in step 5:

    • 1. Click Change embedded bitmap.

    • 2. Navigate to and select the Windows Bitmap (.BMP) or JPEG (.JPG) image file.

    • 3. Click Open.

  7. If you selected "Embedded" in step 5:

    • 1. Click open.

      images/Folder_button.gif
    • 2. Navigate to and select the Windows Bitmap (.BMP) or JPEG (.JPG) image file.

    • 3. Click Open.

  8. If you selected "File" in step 5:

    • 1. Click 'up' to display the Insert Image dialog box.

    • 2. Select the image and click Insert.

  9. Select one of the display mode options.

    • "Absolute"

      does not stretch the image. This option may cause the image to appear as a different size when printed.

    • "Stretch"

      stretches the image both horizontally and vertically to cover the form's background. This option may distort the image.

    • "Tile"

      tiles the image across the form. This option may cause the image to appear as a different size when printed.

    • "Best fit"

      scales the image to the maximum size that will fit on the form background without clipping the image.

Defining Bitmap Properties

To display the Properties dialog for a bitmap, right click on it and select Properties... .

  1. To adjust the dimensions of a bitmap, display its Dimensions tab, and set its Left and Top coordinates, and its Width and Height. You may change the units of measure on the Settings dialog.

  2. To adjust the border or fill styles of a bitmap, display the Border tab.

    • To adjust the border properties of the bitmap, refer to Defining Border Style and Color.

    • To adjust the shadow properties of the bitmap, refer to Defining Shadows.

    • To adjust the fill properties of the bitmap, refer to Defining Fill Style and Color.

See Also